package com.handler.http.message.handler;

import lombok.Data;

/**
 * @author guoQ.z
 * @date 2021/1/12 13:59
 * TODO
 */
@Data
public class ServerException extends RuntimeException {

    private String respCode;

    private String respMsg;

    public ServerException() {
        super();
    }

    public ServerException(String respMsg) {
        super(respMsg);
        this.respMsg = respMsg;
    }

    public ServerException(String respCode, String respMsg) {
        super(respMsg);
        this.respCode = respCode;
        this.respMsg = respMsg;
    }
}
